.nav_span>nav>ul {
	/*去掉列表的样式*/
	list-style-type: none;
	width: 400px;
	height: 500px;
	background-color: #DDDDDD;
}

.nav_span>nav>ul>li>a {
	/*将<a>内联元素转换为块级元素，便于padding设定*/
	display: block;
	/*去掉链接默认样式*/
	text-decoration: none;
	color: white;
	padding: 40px 16px;
}

.nav_span>nav>ul>li>a:hover {
	background-color: blue;
	color: white;
}

#subject_span #banner-img-container {
	width: 1700px;
	height: 500px;
	overflow: hidden;
	position: absolute;
	/* 开启弹性盒，让图片横向排列 */
	display: flex;
	animation: run 10s ease infinite;
}

#subject_span>#banner-img-container>img {
	width: 1700px;
	height: 500px;
}

.banner-container a {
	width: 24px;
	height: 24px;
	background: #87c8eb;
	position: absolute;
	bottom: 1rem;
	border-radius: 100%;
	margin: 0;
	z-index: 1;
}

.banner-container input {
	width: 24px;
	height: 24px;
	position: absolute;
	bottom: 1rem;
	margin: 0;
	cursor: pointer;
	z-index: 2;
	opacity: 0;
}

input:checked+.banner-nav-a {
	background-color: #ad244f;
}

/* 设置轮播图动画 */
#banner-control-1:checked~.banner-img-container {
	transform: translateX(0px);
}

#banner-control-2:checked~.banner-img-container {
	transform: translateX(-1200px);
}

#banner-control-3:checked~.banner-img-container {
	transform: translateX(-2400px);
}

#banner-control-4:checked~.banner-img-container {
	transform: translateX(-3600px);
}

#banner-control-5:checked~.banner-img-container {
	transform: translateX(-4800px);
}

/* 设置基本字体样式 */
.text-hover {
	font-size: 24px;
	transition: font-weight 0.3s ease;
	/* 字体粗细变化的过渡效果 */
}

/* 鼠标悬停时文字变粗 */
.text-hover:hover {
	font-weight: bold;
}

/* 光圈效果 */
.text-hover:hover:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
	/* 确保光圈不会影响鼠标事件 */
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: scale(0);
	opacity: 0;
	transition: all 0.3s ease;
}

.text-hover:hover:before {
	transform: scale(1);
	opacity: 1;
}

.text-hover {
	font-size: 24px;
	transition: font-weight 0.3s ease;
	/* 字体粗细变化的过渡效果 */
}

/* 鼠标悬停时文字变粗 */
.text-hover:hover {
	font-weight: bold;
}

/* 光圈效果 */
.text-hover:hover:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
	/* 确保光圈不会影响鼠标事件 */
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: scale(0);
	opacity: 0;
	transition: all 0.3s ease;
}

.text-hover:hover:before {
	transform: scale(1);
	opacity: 1;
}

.news-block {
	background-color: #f0f0f0;
	/* 背景色 */
	color: #333;
	/* 文字颜色 */
	border-radius: 10px;
	/* 圆角 */
	padding: 20px;
	margin: 10px;
	transition: transform 0.3s ease;
	/* 放大过渡效果 */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	/* 阴影效果 */
}

.news-block:hover {
	transform: scale(1.05);
	/* 鼠标悬停时放大 */
}

.news-image {
	max-width: 100%;
	border-radius: 10px;
	/* 保持图片圆角 */
}

.news-text {
	margin-top: 10px;
}

.date {
	font-size: 14px;
	color: #666;
}

.music-player {
	height: 100%;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.5);
	/* 半透明黑色背景 */
}

.music-player {
	width: 300px;
	background-color: #fff;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.playlist {
	list-style-type: none;
	padding: 0;
}

.playlist li {
	margin-bottom: 10px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.playlist li:hover {
	background-color: #f0f0f0;
}

.play-button {
	cursor: pointer;
	color: #fff;
	background-color: #1db954;
	border: none;
	padding: 5px 10px;
	border-radius: 5px;
}

.play-button:hover {
	background-color: #1ed760;
}

@keyframes run {

	0%,
	10% {
		/* margin-left: 0; */
		transform: translateX(0);
	}

	20%,
	30% {
		/* margin-left: -1200px;; */
		transform: translateX(-1200px);
	}

	40%,
	50% {
		/* margin-left: -2400px; */
		transform: translateX(-2400px);
	}

	60%,
	70% {
		/* margin-left: -3600px; */
		transform: translateX(-3600px);
	}

	80%,
	90% {
		/* margin-left: -4800px; */
		transform: translateX(-4800px);
	}

	100% {
		/* margin-left: 0; */
		transform: translateX(0);
	}
}

.topDiv {
	position: absolute;
	top: 0px;
	width: 2000px;
	height: 40px;
	background-color: #666;
}

.login {
	position: relative;
	left: 1700px;
}

.login:hover {
	background-color: #1ed760;
}

.register {
	position: relative;
	left: 1710px;
}

.register:hover {
	background-color: #1ed760;
}

.titleDiv {
	position: absolute;
	top: 20px;
	left: 800px;
}

.twoiceDiv {
	position: absolute;
	top: 120px;
}

nav {
	position: absolute;
	top: 120px;
	left: 1000px;
}

.news-block {
	position: absolute;
	top: 1000px;
}

.nav_span {
	position: absolute;
	top: 0px;
	left: 500px;
}

#subject_span {
	position: absolute;
	top: 120px;
	width: 1700px;
	height: 500px;
}

.threethDiv {
	position: absolute;
	top: 750px;
}

/* body,
html {
	height: 100%;
	margin: 0;
	font-family: 'Arial', sans-serif;
}

.bg-gradient {
	background: linear-gradient(135deg, #e0eafc, #cfdef3);
	/* 流行渐变色背景 */
/* 	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #333;
}

.content {
	text-align: center;
} */ 